package com.learnlogincheck.learnlogincheck.daoImpl;


import com.learnlogincheck.learnlogincheck.dao.tokenInterface;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class tockenImpl implements tokenInterface {
    @Autowired
    com.learnlogincheck.learnlogincheck.dao.tokenInterface tokenInterface;
    @Override
    public int inTocken(String account, String tocken) {
        return tokenInterface.inTocken(account,tocken);
    }

    @Override
    public String selectToken(String account) {
        return tokenInterface.selectToken(account);
    }

    @Override
    public int deTocken(String account) {
        return tokenInterface.deTocken(account);
    }
}
